package com.sc.design.PK.create.abfac_builder.builder;

/**
 * @author sc
 * Created on  2017/12/7
 */
public class Client {
    public static void main(String[] args) {
        CarBuilder carBuilder = new BMWBuilder();
        Director director = new Director();

        ICar car = director.createCar(carBuilder, "bmw", "4个");
        System.out.println(car.getEngine()+car.getWheel());
    }
}
